#include "httpOutput.h"
#include "stringUtils.h"

void HttpOutput::outputJson(const String& content, httplib::Response& res)
{
	std::string ret = StringUtils::wstring2UTF8(content.c_str(), content.length());
	res.set_content(ret, "application/json;charset=UTF-8");
}
